Migrate 13 crates to monorepo chrono codespan-reporting config configparser csv csv-core debug_tree downcast drm-ffi drm-fourcc fnv form_urlencoded futures-channel Bug: http://b/339424309 Test: treehugger Change-Id: Ibb2bd6e9312aa8da02a5ea3a037288b3c33bf131
diff --git a/Android.bp b/Android.bp index 09de1a9..96beb97 100644 --- a/Android.bp +++ b/Android.bp
@@ -1,215 +1 @@ -// This file is generated by cargo_embargo. -// Do not modify this file because the changes will be overridden on upgrade. - -package { - default_applicable_licenses: ["external_rust_crates_futures-channel_license"], - default_team: "trendy_team_android_rust", -} - -license { - name: "external_rust_crates_futures-channel_license", - visibility: [":__subpackages__"], - license_kinds: ["SPDX-license-identifier-Apache-2.0"], - license_text: ["LICENSE"], -} - -rust_test { - name: "futures-channel_test_src_lib", - host_supported: true, - crate_name: "futures_channel", - cargo_env_compat: true, - cargo_pkg_version: "0.3.30", - crate_root: "src/lib.rs", - test_suites: ["general-tests"], - auto_gen_config: true, - test_options: { - unit_test: true, - }, - edition: "2018", - features: [ - "alloc", - "default", - "futures-sink", - "sink", - "std", - ], - rustlibs: [ - "libfutures", - "libfutures_core", - "libfutures_sink", - "libfutures_test", - ], -} - -rust_test { - name: "futures-channel_test_tests_channel", - host_supported: true, - crate_name: "channel", - cargo_env_compat: true, - cargo_pkg_version: "0.3.30", - crate_root: "tests/channel.rs", - test_suites: ["general-tests"], - auto_gen_config: true, - test_options: { - unit_test: true, - }, - edition: "2018", - features: [ - "alloc", - "default", - "futures-sink", - "sink", - "std", - ], - rustlibs: [ - "libfutures", - "libfutures_channel", - "libfutures_core", - "libfutures_sink", - "libfutures_test", - ], -} - -rust_test { - name: "futures-channel_test_tests_mpsc", - host_supported: true, - crate_name: "mpsc", - cargo_env_compat: true, - cargo_pkg_version: "0.3.30", - crate_root: "tests/mpsc.rs", - test_suites: ["general-tests"], - auto_gen_config: true, - test_options: { - unit_test: true, - }, - edition: "2018", - features: [ - "alloc", - "default", - "futures-sink", - "sink", - "std", - ], - rustlibs: [ - "libfutures", - "libfutures_channel", - "libfutures_core", - "libfutures_sink", - "libfutures_test", - ], -} - -rust_test { - name: "futures-channel_test_tests_mpsc-close", - host_supported: true, - crate_name: "mpsc_close", - cargo_env_compat: true, - cargo_pkg_version: "0.3.30", - crate_root: "tests/mpsc-close.rs", - test_suites: ["general-tests"], - auto_gen_config: true, - test_options: { - unit_test: true, - }, - edition: "2018", - features: [ - "alloc", - "default", - "futures-sink", - "sink", - "std", - ], - rustlibs: [ - "libfutures", - "libfutures_channel", - "libfutures_core", - "libfutures_sink", - "libfutures_test", - ], -} - -rust_test { - name: "futures-channel_test_tests_mpsc-size_hint", - host_supported: true, - crate_name: "mpsc_size_hint", - cargo_env_compat: true, - cargo_pkg_version: "0.3.30", - crate_root: "tests/mpsc-size_hint.rs", - test_suites: ["general-tests"], - auto_gen_config: true, - test_options: { - unit_test: true, - }, - edition: "2018", - features: [ - "alloc", - "default", - "futures-sink", - "sink", - "std", - ], - rustlibs: [ - "libfutures", - "libfutures_channel", - "libfutures_core", - "libfutures_sink", - "libfutures_test", - ], -} - -rust_test { - name: "futures-channel_test_tests_oneshot", - host_supported: true, - crate_name: "oneshot", - cargo_env_compat: true, - cargo_pkg_version: "0.3.30", - crate_root: "tests/oneshot.rs", - test_suites: ["general-tests"], - auto_gen_config: true, - test_options: { - unit_test: true, - }, - edition: "2018", - features: [ - "alloc", - "default", - "futures-sink", - "sink", - "std", - ], - rustlibs: [ - "libfutures", - "libfutures_channel", - "libfutures_core", - "libfutures_sink", - "libfutures_test", - ], -} - -rust_library { - name: "libfutures_channel", - host_supported: true, - crate_name: "futures_channel", - cargo_env_compat: true, - cargo_pkg_version: "0.3.30", - crate_root: "src/lib.rs", - edition: "2018", - features: [ - "alloc", - "default", - "futures-sink", - "sink", - "std", - ], - rustlibs: [ - "libfutures_core", - "libfutures_sink", - ], - apex_available: [ - "//apex_available:platform", - "//apex_available:anyapex", - ], - product_available: true, - vendor_available: true, - min_sdk_version: "29", -} +// This crate has been migrated to external/rust/android-crates-io.
diff --git a/TEST_MAPPING b/TEST_MAPPING deleted file mode 100644 index e24ae4b..0000000 --- a/TEST_MAPPING +++ /dev/null
@@ -1,78 +0,0 @@ -// Generated by update_crate_tests.py for tests that depend on this crate. -{ - "imports": [ - { - "path": "external/rust/crates/anyhow" - }, - { - "path": "external/rust/crates/async-stream" - }, - { - "path": "external/rust/crates/futures-executor" - }, - { - "path": "external/rust/crates/futures-test" - }, - { - "path": "external/rust/crates/futures-util" - }, - { - "path": "external/rust/crates/tokio" - }, - { - "path": "external/rust/crates/tokio-test" - }, - { - "path": "packages/modules/DnsResolver" - }, - { - "path": "packages/modules/Virtualization/authfs" - }, - { - "path": "packages/modules/Virtualization/virtualizationmanager" - }, - { - "path": "packages/modules/Virtualization/zipfuse" - }, - { - "path": "system/security/keystore2" - }, - { - "path": "system/security/keystore2/legacykeystore" - } - ], - "presubmit": [ - { - "name": "futures-channel_test_src_lib" - }, - { - "name": "futures-channel_test_tests_channel" - }, - { - "name": "futures-channel_test_tests_mpsc" - }, - { - "name": "futures-channel_test_tests_mpsc-close" - }, - { - "name": "futures-channel_test_tests_oneshot" - } - ], - "presubmit-rust": [ - { - "name": "futures-channel_test_src_lib" - }, - { - "name": "futures-channel_test_tests_channel" - }, - { - "name": "futures-channel_test_tests_mpsc" - }, - { - "name": "futures-channel_test_tests_mpsc-close" - }, - { - "name": "futures-channel_test_tests_oneshot" - } - ] -}
diff --git a/cargo_embargo.json b/cargo_embargo.json deleted file mode 100644 index 219642a..0000000 --- a/cargo_embargo.json +++ /dev/null
@@ -1,11 +0,0 @@ -{ - "features": [ - "alloc", - "default", - "std", - "sink" - ], - "min_sdk_version": "29", - "run_cargo": false, - "tests": true -}